package cn.wolfcode.service;


import cn.wolfcode.common.web.Result;
import cn.wolfcode.domain.OrderInfo;
import cn.wolfcode.domain.SeckillProductVo;

import java.util.Map;

/**
 * Created by wolfcode-lanxw
 */
public interface IOrderInfoService {

    OrderInfo findByPhoneAndSeckillId(String phone, Long seckillId);

    OrderInfo doSickill(String phone, SeckillProductVo seckillProductVo);

    OrderInfo findByOrderNo(String orderNo);

    void cancelOrder(String orderNo);

    Result<String> payOnline(String orderNo);

    int changePayStatus(String orderNo ,Integer status,int payType);

    void refundOnline(OrderInfo orderInfo);

    void payIntegral(String orderNo);

    void refundIntergral(OrderInfo orderInfo);
}
